package com.badibadi.activity;

import com.badibadi.uniclubber.R;
import com.badibadi.uniclubber.R.layout;
import com.badibadi.uniclubber.R.menu;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.TextView;
//jump_to_the_mail
public class ForgotPassWord2Activity extends BaseActivity {

	private String Email;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		goToTheTitle();
		setContentView(R.layout.activity_forgot_pass_word2);
		
		init();
		
		
	}

	private void init() {
		// TODO Auto-generated method stub
		//ForgotPassWardTiShi
		
		Email=""+getIntent().getStringExtra("email");
		String forgotPassWardTiShi=String.format(getResources().getString(R.string.ForgotPassWardTiShi), Email);
		TextView tv=(TextView)this.findViewById(R.id.ForgotPassWardTiShi);
		
		tv.setText(forgotPassWardTiShi);
		

      this.findViewById(R.id.forgot_password2_return_btn).setOnClickListener(new View.OnClickListener() {
			 
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				finish();
			}
		});
      //跳转到邮箱
      this.findViewById(R.id.jump_to_the_mail).setOnClickListener(new View.OnClickListener() {
		
		@Override
		public void onClick(View v) {
			// TODO Auto-generated method stub
			Intent intent=new Intent(ForgotPassWord2Activity.this,ValidationEmailWebViewActivity.class);
			startActivity(intent);
		}
	});
	}

	
}
